package br.com.foxinline.modelo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author cadomeireles
 */
@Entity
public class Deposito implements Serializable{

    @Id
    @SequenceGenerator(name = "seq_deposito", sequenceName = "seq_deposito", allocationSize=1 )
    @GeneratedValue(generator = "seq_deposito", strategy = GenerationType.SEQUENCE)
    private Long id;

    @Temporal(TemporalType.DATE)
    private Date dataDeposito;

    

}
